package com.jiashihui.web.model;

import lombok.Data;

import java.io.Serializable;

/**
 * @author jiashihui
 * @describe: 产品
 * @date 2019/01/22
 */
@Data
public class Product implements Serializable {
    /**
     * 涉及到发生网络传输需要序列化
     */
    private static final long serialVersionUID = 5184102227233882862L;

    /**
     * 产品ID
     */
    private long id;

    /**
     * 产品名称
     */
    private String name;

    /**
     * 价格
     */
    private double price;
}
